<?php

/**********************************************************************
Copyright (C) FrontAccounting, LLC.
Released under the terms of the GNU General Public License, GPL,
as published by the Free Software Foundation, either version 3
of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
See the License here <http://www.gnu.org/licenses/gpl-3.0.html>.
***********************************************************************/
class manufacturing_app extends application
{
    function manufacturing_app()
    {
        $this->application("manuf", _($this->help_context = "Prod&uksi"));

        $this->add_module(_("Transactions"));
        //$this->add_lapp_function(0, _("Work &Order Entry"),
        //			"manufacturing/work_order_entry.php?", 'SA_WORKORDERENTRY', MENU_TRANSACTION);
        $this->add_lapp_function(0, "Kartu Produksi",
            "manufacturing/view/view_sales_order_details.php?", 'SA_MANUFTRANSVIEW',
            MENU_TRANSACTION);

        //		$this->add_lapp_function(0, _("&Outstanding Work Orders"),
        //			"manufacturing/search_work_orders.php?outstanding_only=1", 'SA_MANUFTRANSVIEW', MENU_TRANSACTION);
        //		$this->add_lapp_function(0, _("&Kartu Produksi"),
        //			"manufacturing/production_card.php", 'SA_MANUFTRANSVIEW', MENU_TRANSACTION);

        $this->add_module("Harga Pokok Produksi");
        $this->add_lapp_function(1, "Buat Harga Pokok Produksi",
            "manufacturing/view/cari_hpp.php?", 'SA_WORKORDERANALYTIC', MENU_INQUIRY);
        $this->add_lapp_function(1, "Daftar Harga Pokok Produksi",
            "manufacturing/inquiry/daftar_hpp.php?", 'SA_WORKORDERANALYTIC', MENU_INQUIRY);
        //$this->add_lapp_function(1, _("Costed Bill Of Material Inquiry"),
        //			"manufacturing/inquiry/bom_cost_inquiry.php?", 'SA_WORKORDERCOST', MENU_INQUIRY);
        //		$this->add_lapp_function(1, _("Inventory Item Where Used &Inquiry"),
        //			"manufacturing/inquiry/where_used_inquiry.php?", 'SA_WORKORDERANALYTIC', MENU_INQUIRY);
        //		$this->add_rapp_function(1, _("Manufacturing &Reports"),
        //			"reporting/reports_main.php?Class=3", 'SA_MANUFTRANSVIEW', MENU_REPORT);

        //$this->add_module(_("Maintenance"));
        //$this->add_lapp_function(2, _("&Estimasi Kebutuhan Bahan Baku"),
        //			"manufacturing/manage/estimasi.php?", 'SA_BOM', MENU_ENTRY);
        //		$this->add_lapp_function(2, _("&Bills Of Material"),
        //			"manufacturing/manage/bom_edit.php?", 'SA_BOM', MENU_ENTRY);
        //       $this->add_lapp_function(2, _("&Work Centres"),
        //            "manufacturing/manage/work_centres.php?", 'SA_WORKCENTRES', MENU_MAINTENANCE);

        $this->add_extensions();
    }
}

?>